package com.link.base.base.applyquality.service;

import com.link.base.base.applyquality.model.ApplyQuality;
import com.link.base.base.applyquality.model.ApplyQualityMeg;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * @author liushoulong
 * @date 2018-11-08
 * @desc 酒体质检报告申请
 */
public interface ApplyQualityService extends BasicService<ApplyQuality> {

    /**
     * 根据用户查询申请列表
     *
     * @return List
     * @throws Exception
     */
    public List<ApplyQuality> queryByUserExamplePage() throws Exception;

    /**
     * 提交更改信息审批
     *
     * @param applyQuality
     * @param approvalDetail
     * @throws Exception
     */
    public void accntSigningSubmit(ApplyQuality applyQuality, String approvalDetail) throws Exception;

    /**
     * 审批通过后更新客户信息及申请信息状态
     *
     * @param objectId
     * @param param1
     * @param param2
     * @param param3
     * @param param4
     * @param param5
     * @throws Exception
     */
    public void qualityStatusUpdate(Long objectId, String param1, String param2, String param3, String param4, String param5) throws Exception;

    /**
     * 最后节点处理通过后，审批对象修改
     *
     * @param entity
     * @throws Exception
     */
    public void approvalObjectUpdate(ApplyQualityMeg entity) throws Exception;

}
